package com.sky.service.user;

import com.sky.dto.OrdersConfirmDTO;
import com.sky.dto.OrdersPageQueryDTO;
import com.sky.dto.OrdersRejectionDTO;
import com.sky.pojo.Courier;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderVO;

import java.io.IOException;

public interface OrderService {
    PageResult OrderQuery(OrdersPageQueryDTO queryDTO);

    OrderStatisticsVO statistics();


    OrderVO selectById(Long orderId);

    void rejection(OrdersRejectionDTO dto) throws IOException;

    Courier confirm(OrdersConfirmDTO dto) throws InterruptedException;
}
